﻿Imports System.Runtime.InteropServices
<GuidAttribute("C1AE29B8-D307-47E3-BB96-B8628ABF8557"), _
InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface IEvaluateExpression
  ReadOnly Property Ans As Double
  Property UseParams As Boolean
  Property UseConsts As Boolean
  Property CorrectBrackets As Boolean
  ReadOnly Property ParamCount As Integer
  Function getParamName(ByVal index As Integer) As String
  Function getParamValue(ByVal index As Integer) As Double
  Sub DelPar(ByVal name As String)
  Sub SetPar(ByVal name As String, ByVal value As Double)
  Function Evaluate(ByVal S As String) As Double
End Interface